<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>My Task</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../../resources/css/mui.css">
		<link rel="stylesheet" href="../../resources/css/style.css">
		<link rel="stylesheet" href="../../resources/css/task/list.css">
		<script src="../../resources/assets/mui.js"></script>
		<script src="../../resources/assets/avalon.js"></script>
		<script src="../../resources/assets/jquery-2.0.3.min.js"></script>
		<script src="../../resources/js/lang/en.js"></script>
		<script src="../../resources/js/dahua.config.js"></script>
		<script src="../../resources/js/common.js"></script>
		<script src="../../resources/js/task/list.js"></script>

	</head>

	<body ms-controller="listPage">
		
		<input type="hidden" value="" id="uid" />
		<!--头部-->
		<header class="mui-bar mui-bar-nav header">
			<h1 id="title" class="mui-title">My Task</h1>
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left mui-icon-white"></a>
			<a class="mui-icon mui-pull-right mui-icon-white" href="../product/category.html">
				<i class="icon icon_home"></i>
			</a>
		</header>

		<div id="task-list" class="mui-content mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class='noData' ms-html="@noData"></div>
				<ul class="mui-table-view">
					<li class="mui-table-view-cell mui-media" ms-for="task in @tasks">
						<a ms-attr="{'href':'pdp.html?tid='+ @task.id}">
							<div class="mui-media-body mui-navigate-right">
								<h4>{task.companyName}</h4>
								<p class='mui-ellipsis' ms-html="task.status">
								</p>
							</div>
						</a>
					</li>
				</ul>
			</div>
		</div>

	</body>

</html>